/**
 * 
 */
package com.xb.demo1.iterator;

import java.util.Date;

/**
 * 书本实体类
 * @author kexue
 *
 */
public class Book {

	private String name;
	private String author;
	private String bookcode;
	private Date publishTime;
	
	/**
	 * @param name
	 * @param author
	 */
	public Book(String name, String author) {
		super();
		this.name = name;
		this.author = author;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getBookcode() {
		return bookcode;
	}
	public void setBookcode(String bookcode) {
		this.bookcode = bookcode;
	}
	public Date getPublishTime() {
		return publishTime;
	}
	public void setPublishTime(Date publishTime) {
		this.publishTime = publishTime;
	}
	@Override
	public String toString() {
		return "Book [name=" + name + ", author=" + author + ", bookcode=" + bookcode + ", publishTime=" + publishTime
				+ "]";
	}
	
}
